

package com.hex.ds.code.detection.publish.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hex.ds.code.detection.publish.entity.ScriptPublishListEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 脚本发布清单
 *
 * @author Wang zhihao
 * @date 2023-09-13 18:17:51
 */
@Mapper
public interface ScriptPublishListMapper extends BaseMapper<ScriptPublishListEntity> {

    /**
     * @Method queryBackupEarliest
     * @Param
     * @param taskId
     * @param clusterId
     * @Return java.util.List<com.hex.ds.code.detection.script.publish.entity.ScriptPublishListEntity>
     * @Description
     * @Author Wang zhihao
     * @Date 2023/11/15 18:45
     * @Version V1.0
     */
    List<ScriptPublishListEntity> queryBackupEarliest(@Param("taskId") String taskId, @Param("clusterId") String clusterId, @Param("backupType") String type);
}
